
package Views.Base;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JPasswordField;

/**
 *
 * @author Joshua King
 */
public abstract class BaseViewDeleteUser extends JPanel {
    
    private static final int MAXCHAR = 10;
    private JPanel enterPasswordPanel = new JPanel();
    private JPanel passwordPanel = new JPanel();
    private JLabel passwordLabel = new JLabel("Enter password: ");
    protected JPasswordField passwordField = new JPasswordField(MAXCHAR);
    protected JButton deleteUserButton = new JButton("Delete");
    


    public BaseViewDeleteUser() {
        enterPasswordPanel.add(passwordPanel);
        passwordPanel.add(passwordLabel);
        passwordPanel.add(passwordField);      
        enterPasswordPanel.add(deleteUserButton);
        passwordField.setEchoChar('*'); 
    }
}
